<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<?php
			$arr = array("变量","常量","函数","表达式"); // 创建数组
			echo "原数组：<br/>";
			print_r($arr);
			echo "<br/>";
			$arr[2] = "PHP"; //数组元素重新复制
			echo "数组元素重新赋值后：<br/>";
			print_r($arr);
		?>

	</body>
</html>